package cn.jingzhuan.element.demo.view.fragment

import android.os.Bundle
import cn.jingzhuan.fm.R
import cn.jingzhuan.fm.databinding.FragmentFmAudioIntroBinding
import cn.jingzhuan.fm.ui.activity.FMAlbumDetailActivity
import cn.jingzhuan.fm.ui.fragment.BaseBindingFragment

class FMAudioIntroFragment : BaseBindingFragment<FragmentFmAudioIntroBinding>(){
    override fun getLayoutId(): Int = R.layout.fragment_fm_audio_intro

    override fun onDataBind(savedInstanceState: Bundle?, binding: FragmentFmAudioIntroBinding) {
        var activity = activity as FMAlbumDetailActivity
        binding.album = activity.album
    }

}